package controllers;

import javax.servlet.ServletException;
import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import systems.MailSystem;

import entities.Webmail;

public class WebmailResetServlet extends HttpServlet {
	public void doGet(HttpServletRequest request, HttpServletResponse response)
		throws IOException, ServletException {
		
		MailSystem.reset();
		
		response.sendRedirect("/webmail/running");
		return;
		
	}
}
